package com.bnz.service;

import com.bnz.entity.Student;
import com.bnz.entity.vo.StudentVo;
import com.bnz.util.PageResult;

import java.util.List;

public interface StudentService {
    List<Student> findAll();


    PageResult<Student> search(int page, int pagesize, StudentVo studentVo);

    void add(Student student);


    // 修改数据
    void update(Student student);

    // 删除数据
    void delete(Integer sid);
}
